<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>虹猫网盘</title>
    <script data-th-src="@{/layui/layui.js}"></script>
    <link rel="stylesheet" data-th-href="@{/layui/css/layui.css}">
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
    <div class="layui-header">
        <div class="layui-logo">虹猫网盘</div>

        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item">
                <a href="javascript:;">
                    <img src="http://t.cn/RCzsdCq" class="layui-nav-img">
                    [[${session.LOGIN_STATUS?.nickName}]]
                </a>
                <dl class="layui-nav-child">
                    <dd><a href="">基本资料</a></dd>
                    <dd><a href="">安全设置</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item"><a data-th-href="@{/logout}">注销</a></li>
        </ul>
    </div>

    <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
            <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
            <ul class="layui-nav layui-nav-tree"  lay-filter="test">
                <li class="layui-nav-item">
                    <a data-th-href="@{/diskInfo}" target="body">
                       <div style="display: flex;align-items: center">
                           <i class="layui-icon layui-icon-list" style="font-size: 26px;"></i>
                           <span>全部文件</span>
                       </div>
                    </a>
                </li>
                <li class="layui-nav-item"><a href="">&emsp;&emsp;图片</a></li>
                <li class="layui-nav-item"><a href="">&emsp;&emsp;文档</a></li>
                <li class="layui-nav-item"><a href="">&emsp;&emsp;视频</a></li>
                <li class="layui-nav-item"><a href="">&emsp;&emsp;种子</a></li>
                <li class="layui-nav-item"><a href="">&emsp;&emsp;音乐</a></li>
                <li class="layui-nav-item"><a href="">&emsp;&emsp;其他</a></li>
                <li class="layui-nav-item">
                    <a href="">
                        <div style="display: flex;align-items: center">
                            <i class="layui-icon layui-icon-share" style="font-size: 26px;"></i>
                            <span>我的分享</span>
                        </div>
                    </a>
                </li>
                <li class="layui-nav-item">
                    <a data-th-href="@{/recycleInfo}" target="body">
                        <div style="display: flex;align-items: center">
                            <i class="layui-icon layui-icon-delete" style="font-size: 26px;"></i>
                            <span>回收站</span>
                        </div>
                    </a>
                </li>
            </ul>
        </div>
    </div>

    <div class="layui-body">
        <!-- 内容主体区域 -->
        <iframe name="body" width="100%" height="100%"></iframe>
    </div>

    <div class="layui-footer">
        <!-- 底部固定区域 -->
        © layui.com - 底部固定区域
    </div>
</div>

<script>
    //JavaScript代码区域
    layui.use('element', function(){
        var element = layui.element;

    });
</script>
</body>
</html>